package com.baiye.www.spring.ioc.annotation;

/**
 * Created with IntelliJ IDEA.
 * 注入对象类型，默认按照类型注入
 *
 * @Author: baiye
 * @Date: 2021/08/07/9:39
 * @Description:
 */

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Autowired {
    String value() default "";
}
